package com.gitee.wsl.platform.hardware


import kotlinx.coroutines.flow.Flow

expect class Battery {
    val batteryLevel: Int

    val chargingStatus: Flow<ChargingStatus>
}

data class ChargingStatus(
    val status: Status = Status.Unavailable
) {
    enum class Status {
        Charging, Full, Discharging, Unavailable
    }
}